package com.it.server.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.it.pojo.Entity.Address;
import com.it.server.mapper.AddressMapper;
import com.it.server.service.IAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IAddressServiceImpl extends ServiceImpl<AddressMapper, Address> implements IAddressService{
    @Autowired
    private AddressMapper addressMapper;
    @Override
    public void setDefault(Integer id) {
        addressMapper.setDefault(id);
    }
}
